home *** CD-ROM | disk | FTP | other *** search
/ Day Cry / Day Cry CD.bin / oh_towns / ein / sources / loadsrc.lzh / LOAD / RES_ICON.C < prev    next >
C/C++ Source or Header  |  1994-07-21  |  1KB  |  53 lines

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <winb.h>
  4. #include <te.h>
  5. #include <fntb.h>
  6. #include <gui.h>
  7.  
  8. extern int    ID_ICON[2] ;
  9. extern int    func_ICON() ;
  10.  
  11. #define ALIGN    4
  12. #define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
  13.  
  14. /*    MMI_init ùpâfü[â^    */
  15.  
  16. /*    âwâbâ_    */
  17.  
  18. MMIINIT    initDataRES_ICON = { "MmiInit",   2, 0 } ;
  19.  
  20. /* ID_ICON[0] */
  21.  
  22. static MMIPACKET d001 = {    &ID_ICON[0],
  23.                             NULL,
  24.                             &MJ_WINDOWL40,
  25.                             OFFSET(WINDOWL40),
  26.                             MS_NONE
  27.                         } ;
  28. static WINDOWL40    d001d = {    MS_BTLEFTL40 | MS_EVDRAGL40 | MS_EVMOSOFFL40 | MS_EVMOSONL40 | MS_HIDEL40,
  29.                              299, 201, 334, 236, 4, 4, 4,
  30.                             MS_SRECTL40 | MS_UFRAMEL40 | MS_FRAMEL40,
  31.                             NULL,   0,   0,
  32.                                1,   1,  33,  33,
  33.                              128,  96, 640, 480,
  34.                             func_ICON,
  35.                             NULL,
  36.                         } ;
  37.  
  38. /* ID_ICON[1] */
  39.  
  40. static MMIPACKET d002 = {    &ID_ICON[1],
  41.                             &ID_ICON[0],
  42.                             &MJ_ICONL40,
  43.                             0,
  44.                             MS_NONE
  45.                         } ;
  46. static ICONL40    d002d =     {    MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40 | MS_DSPONLYL40,
  47.                              300, 202, 331, 233, 8, 4, 8,
  48.                             MS_NONEL40,
  49.                             0,
  50.                             0x0000, 514
  51.                         } ;
  52.  
  53.